﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace SAR
{
    public partial class HuiboMoni6 : BasePageClass
    {
        public HuiboMoni6()
        {
            this.InitializeComponent();
            this.dianZhengRbtn.SARIsChecked = true;
        }
        public bool PreClick()
        {
            return true;
        }

        public bool NextClick()
        {

            return true;
        }

        private void dianZhengRbtn_SAR_RadioBtnChecked(object sender, MouseButtonEventArgs e)
        {
            if (this.dianzhengGrid != null)
            {
                this.dianzhengGrid.Visibility = Visibility.Visible;
            }
            if (this.mianGrid != null)
            {
                this.mianGrid.Visibility = Visibility.Hidden;
            }
           
        }

        private void mianRbtn_SAR_RadioBtnChecked(object sender, MouseButtonEventArgs e)
        {
            if (this.dianzhengGrid != null)
            {
                this.dianzhengGrid.Visibility = Visibility.Hidden;
            }
            if (this.mianGrid != null)
            {
                this.mianGrid.Visibility = Visibility.Visible;
            }
        }
    }
}